import 'package:flutter/material.dart';

class HeaderIconWidget extends StatelessWidget {
  final String path;
  final Function onTab;
  HeaderIconWidget(this.path, this.onTab);

  @override
  Widget build(BuildContext context) {
    return InkWell(
      child: InkWell(child: Container(
        child: Image.asset(path, width: 22,),
        margin: EdgeInsets.only(right: 16),
      )),
    );
  }
}
